export const getContextPath = () => {
  var pathName = document.location.pathname
  var index = pathName.substr(1).indexOf("/")
  var result = pathName.substr(0, index + 1)
  return result
}

let arr = ["production", "prod"]
const isProduction = arr.includes(process.env.NODE_ENV)
let baseUrl = isProduction ? getContextPath() : "/taskManager"

export default {
  // BASEURL: "/tyTaskManager/workApp",
  BASEURL: "/tgTaskManager"
}
